package com.exam.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "课程-学生辅助类")
public class LessonStudent {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("编号")
    private Integer id;

    @TableField("lesson_id")
    @ApiModelProperty("课程id")
    private Integer lessonId;

    @TableField("student_id")
    @ApiModelProperty("学生id")
    private String studentId;

    @TableField(exist = false)
    private Lesson lesson;

    @TableField(exist = false)
    private Student student;
}
